#define _CRT_SECURE_NO_WARNINGS 1

#include"Stack.h"


int main()
{
	Stack* st=malloc(sizeof(Stack));
	StackInit(st);
	printf("\n%d ", Stackempty(st));
	
	StackPush(st, 1);
	printf("%d ", StackTop(st));
	StackPush(st, 2);
	printf("%d ", StackTop(st));

	StackPush(st, 3);
	printf("%d ", StackTop(st));

	StackPush(st, 4);
	printf("%d ", StackTop(st));

	StackPush(st, 5);
	printf("%d ", StackTop(st));

	printf("\n%d ", Stackempty(st));
	printf("\n%d\n ", StackSize(st));

	while (!Stackempty(st))
	{
		printf(" %d ", StackTop(st));
		StackPop(st);
	}


	return 0;
}